const seq = require('../connections/mysql_connect'),
      { STRING, INT, DECIMAL, TEXT } = require('../../config/db_type_config');

const LoginInfo = seq.define('login_info', {
  uid: {
    content: '',
    type: STRING,
    allowNull: false,
    unique: true
  },
  login_time: {
    content: 'last_login_time',
    type: STRING,
    allowNull: false
  },
  userId: {
    content: '',
    type: INT,
    allowNull: false
  },
})

module.exports = LoginInfo;